package com.itbaiwei.testday01.day01.annotation;

import java.util.concurrent.RecursiveTask;

/**
 * Class: Main1
 * Description:
 * Author: haijun.xu
 * Date: 2025/4/24 20:35
 */
enum Project{
    ANDROID,IOS,WEB;
    public String getChineseName(){
        switch (this){
            case ANDROID:
                return "安卓";
            case IOS:
                return "苹果";
            case WEB:
                return "网页";
            default:
                return "未知";
        }
    }
}
public class Main1 {
    public static void main(String[] args) {
        Project android = Project.ANDROID;
        String chineseName = android.getChineseName();
        System.out.println(chineseName);
    }
}
